package tu.test;

import tu.traffic.train.linklist.train_list;

public class Demo_3_2 {
    public static void main(String[] args) throws Exception {
        Object[] Id = {"A123","A124","A125","A126"};
        Object[] temp = {"8:00","9:00","12:00","15:00"};
        Object[] temp2 = {"9:00", "10:00","15:00","20:00"};
        train_list t = new train_list();
        t.create1(Id, temp, temp2);
        t.display();
        t.insert("B159", "8:00", "9:00");
        t.display();
        // t.insert("B159", "9:00", "8:00");
        System.out.println(t.remove(1));      
        t.display();  
        // t.remove(-1);
    }
}
